package me.firstapp.service.shop;

import java.util.Date;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.shop.PayRecord;

public interface PayRecordService {

	/**
	 * 支付记录新增
	 * 
	 * @param orderNo
	 * @param payValue
	 * @param apiClientId
	 * @return
	 */
	PayRecord addPayRecord(String orderNo, Double payValue, Long apiClientId);

	/**
	 * 分页查询支付记录
	 * 
	 * @param pageNo
	 * @param pageSize
	 * @param searchParams
	 * @param sortParam
	 * @param sortType
	 * @param startTime
	 * @param endTime
	 * @param apiClientId
	 * @return
	 */
	Page<PayRecord> findPayRecordPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime, Long apiClientId);
}
